<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <!-- 引入swiper.css -->
    <link rel="stylesheet" href="css/swiper-bundle.css">

</head>

<body>
    <section class="warp">
        <!-- header -->
        <header class="header">
            河马面面
        </header>
        <!-- nav -->
        <nav class="nav">
            <a href="#">
                <img src="icons/icon1.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="icons/icon2.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="icons/icon3.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="icons/icon4.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="icons/icon5.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#">
                <img src="icons/icon6.png" alt="">
                <span>HR面试</span>
            </a>
        </nav>
        <!-- go -->
        <section class="go">
            <img src="./images/go.png" alt="">
        </section>
    </section>



    <!-- 就业指导 -->
    <section class="content">
        <!-- 头部 -->
        <div class="con-hd">
            <h4>
                <img src="icons/i2.png" alt="">
                就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>

        <!-- 轮播图 -->
        <div class="con-bd">
            <!-- Swiper -->
            <div class="swiper-container con_bd_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/pic.png" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/3.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/ldh.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                </div>
                <!-- Add Pagination 小圆点-->
                <!-- <div class="swiper-pagination"></div> -->
            </div>
            <!-- Add Arrows 添加左右箭头 根据需求，箭头需要拿到swiper-container外面-->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </section>







    <!-- 充电学习 -->
    <section class="content">
        <!-- 头部 -->
        <div class="con-hd">
            <h4>
                <img src="icons/i2.png" alt="">
                充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>

        <!-- 学习模块轮播图 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container study_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <div> <img src="images/pic1.png" alt=""> </div>
                        <h5>说地道英语，告别你们慢慢</h5>
                        <p>1人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <div> <img src="images/pic2.png" alt=""> </div>
                        <h5>说地道英语，告别你们慢慢</h5>
                        <p>1人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <div> <img src="images/pic1.png" alt=""> </div>
                        <h5>说地道英语，告别你们慢慢</h5>
                        <p>1人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <div> <img src="images/pic2.png" alt=""> </div>
                        <h5>说地道英语，告别你们慢慢</h5>
                        <p>1人学习</p>
                    </div>

                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
        </div>

    </section>



    <!-- footer -->
    <footer class="footer">
        <a href="#">
            <img src="icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#">
            <img src="icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#">
            <img src="icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#">
            <img src="icons/home.png" alt="">
            <p>首页</p>
        </a>
    </footer>





    <script src="js/flexible.js"></script>
    <script src="js/swiper-bundle.min.js"></script>
    <!-- Initialize Swiper -->
    <!-- 引入swiper.js -->
    <script>
        // 第一个函数轮播图
        (function () {
            var swiper = new Swiper('.con_bd_fo', {
                // 屏幕显示的slide个数
                slidesPerView: 2,
                // 元素之间的距离
                spaceBetween: 30,
                centeredSlides: true,
                loop: true,
                // 分页器
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },

                //  添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })();



        // 第二个函数轮播图 
        // 如果有多个轮播图，需要修改下 .swiper-container
        (function () {
            var swiper = new Swiper('.study_fo', {
                slidesPerView: 2.3,
                spaceBetween: 20,

            });
        })();


    </script>








</body>

</html>